Optimal. Leaf size=222 \[ \frac {5 d (3 b c-7 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 b^4}+\frac {5 d (3 b c-7 a d) \sqrt {a+b x} (c+d x)^{3/2}}{6 b^3 (b c-a d)}-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {5 \sqrt {d} (3 b c-7 a d) (b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{4 b^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 222, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {79, 49, 52, 65,
223, 212} \begin {gather*} \frac {5 \sqrt {d} (3 b c-7 a d) (b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{4 b^{9/2}}+\frac {5 d \sqrt {a+b x} \sqrt {c+d x} (3 b c-7 a d)}{4 b^4}+\frac {5 d \sqrt {a+b x} (c+d x)^{3/2} (3 b c-7 a d)}{6 b^3 (b c-a d)}-\frac {2 (c+d x)^{5/2} (3 b c-7 a d)}{3 b^2 \sqrt {a+b x} (b c-a d)}+\frac {2 a (c+d x)^{7/2}}{3 b (a+b x)^{3/2} (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 49
Rule 52
Rule 65
Rule 79
Rule 212
Rule 223
Rubi steps
\begin {align*} \int \frac {x (c+d x)^{5/2}}{(a+b x)^{5/2}} \, dx &=\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {(3 b c-7 a d) \int \frac {(c+d x)^{5/2}}{(a+b x)^{3/2}} \, dx}{3 b (b c-a d)}\\ &=-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {(5 d (3 b c-7 a d)) \int \frac {(c+d x)^{3/2}}{\sqrt {a+b x}} \, dx}{3 b^2 (b c-a d)}\\ &=\frac {5 d (3 b c-7 a d) \sqrt {a+b x} (c+d x)^{3/2}}{6 b^3 (b c-a d)}-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {(5 d (3 b c-7 a d)) \int \frac {\sqrt {c+d x}}{\sqrt {a+b x}} \, dx}{4 b^3}\\ &=\frac {5 d (3 b c-7 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 b^4}+\frac {5 d (3 b c-7 a d) \sqrt {a+b x} (c+d x)^{3/2}}{6 b^3 (b c-a d)}-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {(5 d (3 b c-7 a d) (b c-a d)) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{8 b^4}\\ &=\frac {5 d (3 b c-7 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 b^4}+\frac {5 d (3 b c-7 a d) \sqrt {a+b x} (c+d x)^{3/2}}{6 b^3 (b c-a d)}-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {(5 d (3 b c-7 a d) (b c-a d)) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{4 b^5}\\ &=\frac {5 d (3 b c-7 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 b^4}+\frac {5 d (3 b c-7 a d) \sqrt {a+b x} (c+d x)^{3/2}}{6 b^3 (b c-a d)}-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {(5 d (3 b c-7 a d) (b c-a d)) \text {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{4 b^5}\\ &=\frac {5 d (3 b c-7 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 b^4}+\frac {5 d (3 b c-7 a d) \sqrt {a+b x} (c+d x)^{3/2}}{6 b^3 (b c-a d)}-\frac {2 (3 b c-7 a d) (c+d x)^{5/2}}{3 b^2 (b c-a d) \sqrt {a+b x}}+\frac {2 a (c+d x)^{7/2}}{3 b (b c-a d) (a+b x)^{3/2}}+\frac {5 \sqrt {d} (3 b c-7 a d) (b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{4 b^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.73, size = 167, normalized size = 0.75 \begin {gather*} \frac {\frac {b \sqrt {c+d x} \left (-105 a^3 d^2+5 a^2 b d (23 c-28 d x)+a b^2 \left (-16 c^2+158 c d x-21 d^2 x^2\right )+3 b^3 x \left (-8 c^2+9 c d x+2 d^2 x^2\right )\right )}{(a+b x)^{3/2}}-15 \sqrt {\frac {b}{d}} d \left (3 b^2 c^2-10 a b c d+7 a^2 d^2\right ) \log \left (\sqrt {a+b x}-\sqrt {\frac {b}{d}} \sqrt {c+d x}\right )}{12 b^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(749\) vs.
\(2(184)=368\).
time = 0.07, size = 750, normalized size = 3.38
method | result | size |
default | \(\frac {\sqrt {d x +c}\, \left (105 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b^{2} d^{3} x^{2}-150 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a \,b^{3} c \,d^{2} x^{2}+45 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) b^{4} c^{2} d \,x^{2}+12 b^{3} d^{2} x^{3} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+210 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{3} b \,d^{3} x -300 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b^{2} c \,d^{2} x +90 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a \,b^{3} c^{2} d x -42 a \,b^{2} d^{2} x^{2} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+54 b^{3} c d \,x^{2} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+105 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{4} d^{3}-150 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{3} b c \,d^{2}+45 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b^{2} c^{2} d -280 a^{2} b \,d^{2} x \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+316 a \,b^{2} c d x \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}-48 b^{3} c^{2} x \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}-210 a^{3} d^{2} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+230 a^{2} b c d \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}-32 a \,b^{2} c^{2} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}\right )}{24 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}\, \left (b x +a \right )^{\frac {3}{2}} b^{4}}\) | \(750\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.12, size = 619, normalized size = 2.79 \begin {gather*} \left [\frac {15 \, {\left (3 \, a^{2} b^{2} c^{2} - 10 \, a^{3} b c d + 7 \, a^{4} d^{2} + {\left (3 \, b^{4} c^{2} - 10 \, a b^{3} c d + 7 \, a^{2} b^{2} d^{2}\right )} x^{2} + 2 \, {\left (3 \, a b^{3} c^{2} - 10 \, a^{2} b^{2} c d + 7 \, a^{3} b d^{2}\right )} x\right )} \sqrt {\frac {d}{b}} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 4 \, {\left (2 \, b^{2} d x + b^{2} c + a b d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {\frac {d}{b}} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) + 4 \, {\left (6 \, b^{3} d^{2} x^{3} - 16 \, a b^{2} c^{2} + 115 \, a^{2} b c d - 105 \, a^{3} d^{2} + 3 \, {\left (9 \, b^{3} c d - 7 \, a b^{2} d^{2}\right )} x^{2} - 2 \, {\left (12 \, b^{3} c^{2} - 79 \, a b^{2} c d + 70 \, a^{2} b d^{2}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{48 \, {\left (b^{6} x^{2} + 2 \, a b^{5} x + a^{2} b^{4}\right )}}, -\frac {15 \, {\left (3 \, a^{2} b^{2} c^{2} - 10 \, a^{3} b c d + 7 \, a^{4} d^{2} + {\left (3 \, b^{4} c^{2} - 10 \, a b^{3} c d + 7 \, a^{2} b^{2} d^{2}\right )} x^{2} + 2 \, {\left (3 \, a b^{3} c^{2} - 10 \, a^{2} b^{2} c d + 7 \, a^{3} b d^{2}\right )} x\right )} \sqrt {-\frac {d}{b}} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {-\frac {d}{b}}}{2 \, {\left (b d^{2} x^{2} + a c d + {\left (b c d + a d^{2}\right )} x\right )}}\right ) - 2 \, {\left (6 \, b^{3} d^{2} x^{3} - 16 \, a b^{2} c^{2} + 115 \, a^{2} b c d - 105 \, a^{3} d^{2} + 3 \, {\left (9 \, b^{3} c d - 7 \, a b^{2} d^{2}\right )} x^{2} - 2 \, {\left (12 \, b^{3} c^{2} - 79 \, a b^{2} c d + 70 \, a^{2} b d^{2}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{24 \, {\left (b^{6} x^{2} + 2 \, a b^{5} x + a^{2} b^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \left (c + d x\right )^{\frac {5}{2}}}{\left (a + b x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 840 vs.
\(2 (184) = 368\).
time = 1.48, size = 840, normalized size = 3.78 \begin {gather*} \frac {1}{4} \, \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \sqrt {b x + a} {\left (\frac {2 \, {\left (b x + a\right )} d^{2} {\left | b \right |}}{b^{6}} + \frac {9 \, b^{12} c d^{3} {\left | b \right |} - 13 \, a b^{11} d^{4} {\left | b \right |}}{b^{17} d^{2}}\right )} - \frac {5 \, {\left (3 \, \sqrt {b d} b^{2} c^{2} {\left | b \right |} - 10 \, \sqrt {b d} a b c d {\left | b \right |} + 7 \, \sqrt {b d} a^{2} d^{2} {\left | b \right |}\right )} \log \left ({\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}\right )}{8 \, b^{6}} - \frac {4 \, {\left (3 \, \sqrt {b d} b^{7} c^{5} {\left | b \right |} - 22 \, \sqrt {b d} a b^{6} c^{4} d {\left | b \right |} + 58 \, \sqrt {b d} a^{2} b^{5} c^{3} d^{2} {\left | b \right |} - 72 \, \sqrt {b d} a^{3} b^{4} c^{2} d^{3} {\left | b \right |} + 43 \, \sqrt {b d} a^{4} b^{3} c d^{4} {\left | b \right |} - 10 \, \sqrt {b d} a^{5} b^{2} d^{5} {\left | b \right |} - 6 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} b^{5} c^{4} {\left | b \right |} + 36 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a b^{4} c^{3} d {\left | b \right |} - 72 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{2} b^{3} c^{2} d^{2} {\left | b \right |} + 60 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{3} b^{2} c d^{3} {\left | b \right |} - 18 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{4} b d^{4} {\left | b \right |} + 3 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} b^{3} c^{3} {\left | b \right |} - 18 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a b^{2} c^{2} d {\left | b \right |} + 27 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a^{2} b c d^{2} {\left | b \right |} - 12 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a^{3} d^{3} {\left | b \right |}\right )}}{3 \, {\left (b^{2} c - a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}\right )}^{3} b^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,{\left (c+d\,x\right )}^{5/2}}{{\left (a+b\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________